Add one-click theme presets for the clock's look#142
Merged
Conversation
ClockTheme bundles the font, colors, opacity, and shape settings into named looks (System, Terminal, Chalk, Card, Paper, Neon, Sunset) that apply in one click. ThemePresetPicker renders each as a true miniature of the clock via OutlinedTextBlock on a desktop-stand-in backdrop, so users pick a look by seeing it rather than coordinating eight controls.
New card between Window and Typography hosting the preset picker, with its own sidebar nav entry.
The flat grey swatch backdrop made every theme look alike; use a wallpaper-like gradient so each look pops the way it would in place, enlarge the samples, and rework the lineup: drop Neon and Card (weak at chip scale), add Minimal (thin lock-screen white) and Midnight, and warm up Sunset.
Restore the flat swatch backdrop (the wallpaper gradient missed) and replace the lineup with the selected set: System, Accent (white on the system accent color), Smoke (translucent dark glass), Terminal, Midnight, Paper, Minimal, and Chalk.
Clearer name in the card header and nav, plainer helper text, and larger chip samples: OutlinedTextBlock draws text as geometry, so the Light-weight Minimal sample dissolved into anti-aliasing at 17px.
OutlinedTextBlock defaults to a 1px black stroke, so every chip was drawing a dark halo around its digits - most visible on the thin Minimal sample. Only outline themes set a stroke now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds one-click theme presets for the clock's look — the same "pick by result" approach as the format editors (#140), applied to the app's visual identity. Getting an attractive clock previously meant coordinating eight controls across Typography and Appearance.